﻿@{
    var stastics = ViewBag.Stastics as USERS.CYT369.COM.MODELS.Articles.DocumentStastics;
}
<form id="form1" method="post">
    <div class="article-search">
        @if (stastics !=null && stastics.YearGroup != null)
        {
            <select class="easyui-combobox" name="docYears" data-options="editable:false" value="@ViewBag.SearchYear">
                <option>年</option>
                @foreach (var year in stastics.YearGroup)
                {
                    <option value="@year">@year</option>
                }
            </select>
        }
        @if (stastics!=null && stastics.MonthGroup != null)
        {
            <select class="easyui-combobox" name="docMonths" data-options="editable:false" value="@ViewBag.SearchMonth">
                <option>月</option>
                @foreach (var month in stastics.MonthGroup)
                {
                    <option value="@month">@month</option>
                }
            </select>
        }

        <input class="easyui-textbox search" name="search-key" data-options="prompt:'请输入关键词'" value="@ViewBag.SearchTitle" style="width:200px" />
        <a href="javascript:form1.submit()" class="easyui-linkbutton search-btn"> 搜 索 </a>
        <a href="~/News/ArticleIndex" class="easyui-linkbutton search-btn" style="border-color:grey;color:grey"> 重 置 </a>
    </div>
</form>